package com.jy.shenghuilogistics.service;

import org.springframework.stereotype.Service;
import com.jy.shenghuilogistics.bean.Posttb;
import com.jy.shenghuilogistics.dao.PostMapper;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PostService {
    @Resource
    PostMapper postMapper;

    /**
     * 获取所有职位
     * @return
     */
    public List<Posttb> getAllPost() {
        return postMapper.selAllPost();
    }
}
